package com.yys.apm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("apm_app_data_ext")
public class AppDataExt extends Model<AppDataExt> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long extId;

    private Long dataId;

    private String extLabel;

    private String extValue;

    private LocalDateTime createTime;

    public Long getExtId() {
        return extId;
    }

    public void setExtId(Long extId) {
        this.extId = extId;
    }

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public String getExtLabel() {
        return extLabel;
    }

    public void setExtLabel(String extLabel) {
        this.extLabel = extLabel;
    }

    public String getExtValue() {
        return extValue;
    }

    public void setExtValue(String extValue) {
        this.extValue = extValue;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.extId;
    }

    @Override
    public String toString() {
        return "AppDataExt{" +
                "extId=" + extId +
                ", dataId=" + dataId +
                ", extLabel='" + extLabel + '\'' +
                ", extValue='" + extValue + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
